//
//  HomeDataModel.h
//  huashiedu
//
//  Created by oceans on 2018/8/26.
//  Copyright © 2018年 hema. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HomeCollectionCellBaseModel.h"

@interface HomeCourseModel : HomeCollectionCellBaseModel

@property (assign, nonatomic) int _id;
@property (copy, nonatomic) NSString *title;
@property (copy, nonatomic) NSString *banner;
@property (copy, nonatomic) NSString *thumb;
@property (assign, nonatomic) int listorder;
@property (copy, nonatomic) NSString *link;
- (instancetype)initWithDic:(NSDictionary *)dic textWidth:(CGFloat)textwidth fontsize:(CGFloat)fontsize;
@end

@interface HomeDataModel : NSObject

@property (assign, nonatomic) int _id;
@property (copy, nonatomic) NSString *name;
@property (strong, nonatomic) NSArray <HomeCourseModel *> *recommends;
- (instancetype)initWithDic:(NSDictionary*)dic;
@end
